package com.myproject.mall.user.client;

import com.myproject.mall.domain.vo.ShopVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "scmall-shop-service")
public interface ShopServiceClient {
    @GetMapping("/api/shop/get/shops")
    public List<ShopVO> getShops(@RequestParam("ids") List<Long> ids);
}
